.class Lrexsee/fileSelector/RexseeFileSelector$FileSelector$2;
.super Ljava/lang/Object;
.source "RexseeFileSelector.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/fileSelector/RexseeFileSelector$FileSelector;-><init>(Lrexsee/fileSelector/RexseeFileSelector;Lrexsee/core/browser/Browser;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/fileSelector/RexseeFileSelector$FileSelector;


# direct methods
.method constructor <init>(Lrexsee/fileSelector/RexseeFileSelector$FileSelector;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/fileSelector/RexseeFileSelector$FileSelector$2;->this$1:Lrexsee/fileSelector/RexseeFileSelector$FileSelector;

    .line 281
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 284
    new-instance v0, Ljava/io/File;

    iget-object v2, p0, Lrexsee/fileSelector/RexseeFileSelector$FileSelector$2;->this$1:Lrexsee/fileSelector/RexseeFileSelector$FileSelector;

    # getter for: Lrexsee/fileSelector/RexseeFileSelector$FileSelector;->this$0:Lrexsee/fileSelector/RexseeFileSelector;
    invoke-static {v2}, Lrexsee/fileSelector/RexseeFileSelector$FileSelector;->access$1(Lrexsee/fileSelector/RexseeFileSelector$FileSelector;)Lrexsee/fileSelector/RexseeFileSelector;

    move-result-object v2

    iget-object v2, v2, Lrexsee/fileSelector/RexseeFileSelector;->mCurrentPath:Ljava/lang/String;

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v2}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 285
    .local v0, "file":Ljava/io/File;
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "file://"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 286
    .local v1, "parentPath":Ljava/lang/String;
    iget-object v2, p0, Lrexsee/fileSelector/RexseeFileSelector$FileSelector$2;->this$1:Lrexsee/fileSelector/RexseeFileSelector$FileSelector;

    # getter for: Lrexsee/fileSelector/RexseeFileSelector$FileSelector;->this$0:Lrexsee/fileSelector/RexseeFileSelector;
    invoke-static {v2}, Lrexsee/fileSelector/RexseeFileSelector$FileSelector;->access$1(Lrexsee/fileSelector/RexseeFileSelector$FileSelector;)Lrexsee/fileSelector/RexseeFileSelector;

    move-result-object v2

    invoke-virtual {v2, v1}, Lrexsee/fileSelector/RexseeFileSelector;->load(Ljava/lang/String;)V

    .line 287
    return-void
.end method
